package cn.softgame.cms.open.authentication.domain;

import java.io.Serializable;

/**
 * 权限定义
 * @author xuquan
 * 2013-4-1
 */
public class SysRight implements Serializable {

	private static final long serialVersionUID = -8106099115843957489L;

	/**
	 * 权限ID
	 */
	private String rightId;
	/**
	 * 权限名称
	 */
	private String rightName;
	/**
	 * 权限编码
	 */
	private String rightCode;
	/**
	 * 权限树编码
	 */
	private String treeCode;
	/**
	 * 父权限
	 */
	private SysRight parentSysRight;

	public String getRightId() {
		return rightId;
	}

	public void setRightId(String rightId) {
		this.rightId = rightId;
	}

	public String getRightName() {
		return rightName;
	}

	public void setRightName(String rightName) {
		this.rightName = rightName;
	}

	public String getRightCode() {
		return rightCode;
	}

	public void setRightCode(String rightCode) {
		this.rightCode = rightCode;
	}

	public String getTreeCode() {
		return treeCode;
	}

	public void setTreeCode(String treeCode) {
		this.treeCode = treeCode;
	}

	public SysRight getParentSysRight() {
		return parentSysRight;
	}

	public void setParentSysRight(SysRight parentSysRight) {
		this.parentSysRight = parentSysRight;
	}
}
